package com.sbtr.exception;

import com.sbtr.common.ResultCodeCanstant;

/**
 * 业务异常类
 *
 * @author qiujun
 * @date 2019-10-30
 */
public class BizException extends BaseRuntimeException {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public BizException(String info) {
		super(ResultCodeCanstant.SYSTEN_ERROR.getValue(), info);
	}

	public BizException(int code, String info) {
		super(code, info);
	}

	public BizException(int code, String info, String data) {
		super(code, info, data);
	}

	public BizException(int code, String info, Throwable cause) {
		super(code, info, cause);
	}

	public BizException(int code, String info, String data, Throwable cause) {
		super(code, info, data, cause);
	}
}

